public class Ex {
  private String name;
  private ExType type;

  public Ex(String name, ExType type) {
    this.name = name;
    this.type = type;
  }

  public String getName() {
    return name;
  }

  public ExType getType() {
    return type;
  }
  public String toString() {
    return getType()+": "+getName();
  }
}
